﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BackEnd.Models
{
    public class AdminMenuModel
    {

        public int MenuID { get; set; }
        [Required]
        public string Code { get; set; }
        [Required]
        public string Name { get; set; }

        [Required]
        public string Url { get; set; }
        [Required]
        [Display(Name = "Order No")]
        public int OrderNo { get; set; }

        [Display(Name = "Parent menu")]
        public int ParentID { get; set; }
        
    }
}
